/*
 * EventFrameBackend.java
 * Team qq 2011
 */
package com.google.code.timetrail.presenter;

import com.google.code.timetrail.backend.Event;
/**
 * The backend for the EventFrame should only be instantiated if the next event is a dummy event
 * PRECONDTION: THE CONTROL'S NEXT EVENT HAS BEEN PASSED IN AND THE DUMMY HAS BEEN SET
 * @author Steven
 *
 */
public class EventFrameBackend {
	
	private String messageText;
	
	public EventFrameBackend(Event nextEvent){
		messageText = nextEvent.getMessageText();
	}
	
	public String getMessage(){
		return messageText;
	}
}
